{% extends "base.html" %}
{% block script %}
	options = { tip: true, auto: true, mode: "right" };
	sv = new SlideView( "idSlideView2", options );
	$(".bt_index").attr("id","Home_act");
{% endblock %}
 {% load truncatehanzi %}
{% block left_content %}
          <div id="top_ad">
               <ul id="idSlideView2" class="sv2">
                 	<li><div><a href="/rest/yarancanting/" target="_blank">雅然餐厅</a> 好吃就吃多点 </div>
                    	<a href="/rest/yarancanting/"><img src="{{STATIC_URL}}image/ct1.jpg"></a></li>
                    <li><div><a href="/rest/hjhotel/" target="_blank">厚街大酒店</a> 让你轻松享受厚街特式</div>
                    	<a href="/rest/hjhotel/"><img src="{{STATIC_URL}}image/ct2.jpg"></a></li>
                    <li><div><a href="/rest/mantai/" target="_blank">曼泰泰国料理</a> 美味可口，价格实惠</div>
                    	<a href="/rest/mantai/"><img src="{{STATIC_URL}}image/ct3.jpg"></a></li>
                    <li><div><a href="/rest/xwy/" target="_blank">湘味缘</a>给你一种全新的滋味</div>
                    	<a href="/rest/xwy/" target="_blank"><img src="{{STATIC_URL}}image/ct4.jpg"></a></li>
                    <li class="last"><div> <a href="/rest/ztyjj/">醉桃源酒家</a> 非常好吃非常美味的餐厅 </div>
                    	<a href="/rest/ztyjj/" target="_blank"><img src="{{STATIC_URL}}image/ct5.jpg"></a></li>
              </ul>
              
           </div>
           <div id="style">
              <img src="{{STATIC_URL}}image/find.jpg" />
              <ul>
                  <li class="title2">热门菜系</li>                  
                  {% for c in hot_cuis %}
	                  <li><a href="/order/?cuisine={{c.id}}">{{c.name}}</a></li>
                  {% endfor %}
              </ul>
              
              <ul>
                  <li class="title2">热门美食圈</li>                  
                  {% for a in hot_bus_areas %}
	                  <li><a href="/order/?busarea={{a.id}}">{{a.name}}</a></li>
                  {% endfor %}
              </ul>
              
              <ul>
                  <li class="title2">人均消费</li>                  
                  {% for s in spend %}
	                  <li><a href="/order/?spend={{s.id}}">{{s.value}}</a></li>
                  {% endfor %}
              </ul>
              </div>
              
              <div>
		        <div class="ind_title2"></div>
		        <div class="ind_res_tj">
		        <ul>
		        	{% for rest in rests %}
			          <li> <a href="/rest/{{rest.alias}}/" target="_blank"><img src="/image/{{rest.img}}" width="130" height="115"></a>
			            <div class="ind_res_tj_word"> <span class="orange1">{{rest.name}}</span>
			              <p>{{rest.desc|truncatehanzi:"50"}}</p>
			              <span class="orange">人均消费：{{rest.spend}}</span> <a href="/rest/{{rest.alias}}/dish/">点餐</a> </div>
			          </li>
		          	{% endfor %}
		        </ul>
		        <div class="clear"></div>
		        <div class="count"> <!-- <a href="">首页</a> <a href="">上一页</a> <a href="">1</a> <a href="">2</a> <a href="">3</a> <a href="">下一页</a> <a href="">末页</a> --> </div>
		      </div>
              </div>
{% endblock %}
  
{% block right_content %}
           {% include "frag/home_right.html" %}
{% endblock %}
 
